package com.example.demo.bean;

import java.util.Date;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

@ApiModel(description = "文章信息数据模型")
public class CmsArticle {
	@ApiModelProperty(value = "文章编号")
    private String id;
	@ApiModelProperty(value = "文章标题")
    private String title;
	@ApiModelProperty(value = "发布日期")
    private Date publishDate;
	@ApiModelProperty(value = "阅读数量")
    private Integer readNum; 
	@ApiModelProperty(value = "当前状态")
    private String status;
	@ApiModelProperty(value = "专栏ID")
    private String categoryId;
	@ApiModelProperty(value = "作者名字")
    private String memberName;
	@ApiModelProperty(value = "所属栏目")
	private String pname;
	@ApiModelProperty(value = "栏目名称")
	 private String categoryName;
	    public String getCategoryName() {
			return categoryName;
		}

		public void setCategoryName(String categoryName) {
			this.categoryName = categoryName;
		}


    public String getPname() {
		return pname;
	}

	public void setPname(String pname) {
		this.pname = pname;
	}

	public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id == null ? null : id.trim();
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title == null ? null : title.trim();
    }

    public Date getPublishDate() {
        return publishDate;
    }

    public void setPublishDate(Date publishDate) {
        this.publishDate = publishDate;
    }

    public Integer getReadNum() {
        return readNum;
    }

    public void setReadNum(Integer readNum) {
        this.readNum = readNum;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status == null ? null : status.trim();
    }

    public String getCategoryId() {
        return categoryId;
    }

    public void setCategoryId(String categoryId) {
        this.categoryId = categoryId == null ? null : categoryId.trim();
    }

    public String getMemberName() {
        return memberName;
    }

    public void setMemberName(String memberName) {
        this.memberName = memberName == null ? null : memberName.trim();
    }
}